package io.zhifei.modules.sys.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 文件实体类
 *
 * @ClassNameSysFileEntity
 * @Description
 * @Author
 * @Date2020/11/13 9:06
 * @Version V1.0
 **/
@Data
@TableName("tb_video")
public class SysVideoEntity implements Serializable {

    @TableId
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("主机id")
    private String hourId;

    @ApiModelProperty("视频名称")
    private String name;

    @ApiModelProperty("详情")
    private String content;

    @ApiModelProperty("文件id")
    private Integer fileId;

    @ApiModelProperty("科目")
    private String subject;

    @ApiModelProperty("阶段 1：上，2：中，3：下")
    private String phase;

    @ApiModelProperty("限制观看次数")
    private String viewNumber;

    @ApiModelProperty("")
    private String lectureContent;

    @ApiModelProperty("状态 1：免费，2：不免费")
    private String status;

    @ApiModelProperty("删除标志")
    private Integer flag;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("修改时间")
    private String updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "视频时长",example = "1")
    @TableField(exist = false)
    private Integer fileLength;

    @ApiModelProperty(value = "文件地址")
    @TableField(exist = false)
    private String filePath;
}